/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.yandex.skipass;

/**
 *
 * @author Brothers
 */
public enum Week {

    Hld, Bdn, None;

    boolean takeDayConditions(int dayOfWeek) {
        if (this == Hld) {
            return dayOfWeek == 6 || dayOfWeek == 7;
        } else if (this == Bdn) {
            return dayOfWeek != 6 && dayOfWeek != 7;
        }
        return true;

    }
}
